package req

type BbsCategoryStatusReq struct {
	ID    uint
	Value string `json:"value" form:"value"`
	Field string `json:"field" form:"field"`
}

type BbsCategorySaveReq struct {
	GVA_MODEL
	Title       string `form:"title" json:"title"`
	Description string `form:"description" json:"description"`
	ParentId    uint   `form:"parentId" json:"parentId"`
	Sorted      int    `form:"sorted" json:"sorted"`
	Status      int8   `form:"status" json:"status"`
	IsDelete    int8   `form:"isDelete" json:"isDelete"`
}

type GVA_MODEL struct {
	ID uint `gorm:"primarykey;comment:主键ID"` // 主键ID
}
